<%@ page contentType="text/html;charset=UTF-8" %>
<%
    String path = request.getContextPath();
    int port = request.getServerPort();
    String basePath;
    if (port == 80) {
        basePath = request.getScheme() + "://" + request.getServerName() + path;
    } else {
        basePath = request.getScheme() + "://" + request.getServerName() + ":" + port + path;
    }
    pageContext.setAttribute("basePath", basePath);
%>
<link rel="stylesheet" href="${basePath}/resources/css/common.css">
<script src="${basePath}/resources/js/lib/jquery-3.3.1.min.js"></script>
